Skip to content

[Cherry-pick 202412] ansible: support pulling ceos_image from docker registry and enhance image discovery#1081

Open
wangxinbot wants to merge 1 commit intoAzure:202412from
wangxinbot:cherry-pick-22794-msft-202412
Open

[Cherry-pick 202412] ansible: support pulling ceos_image from docker registry and enhance image discovery#1081
wangxinbot wants to merge 1 commit intoAzure:202412from
wangxinbot:cherry-pick-22794-msft-202412

Conversation

@wangxinbot
Copy link

@wangxinbot wangxinbot commented Mar 24, 2026

Cherry-pick of sonic-net/sonic-mgmt#22794 and #23299 to 202412 branch.

Original PRs:

Combined changes include:

  1. Support for pulling ceos_image from a configured docker registry (ceos_registry)
  2. Enhanced image discovery: when ceos_registry is not defined, discovers pre-pulled registry images locally via docker images | grep, avoiding unnecessary local image builds that trigger S360 alerts

Conflicts resolved in ansible/roles/vm_set/tasks/add_ceos_list.yml.

@wangxinbot
Copy link
Author

@microsoft-github-policy-service agree company="Microsoft"

…image discovery

Cherry-pick of sonic-net/sonic-mgmt#22794 and #23299 to 202412 branch.

Original PRs:
- sonic-net/sonic-mgmt#22794
- sonic-net/sonic-mgmt#23299

Includes enhanced ceos image discovery: when ceos_registry is not defined,
a consolidated 'docker images | grep' discovers pre-pulled registry images
locally, avoiding unnecessary local image builds that trigger S360 alerts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Xin Wang <xiwang5@microsoft.com>
@wangxinbot wangxinbot force-pushed the cherry-pick-22794-msft-202412 branch from 3f9c6c4 to 1e0cd9f Compare March 25, 2026 09:40
@wangxinbot wangxinbot changed the title [Cherry-pick 202412] ansible: support pulling ceos_image from docker registry [Cherry-pick 202412] ansible: support pulling ceos_image from docker registry and enhance image discovery Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants